import React from 'react';
import Constants from '../../common/Constants';

import CommonSendPutAction from '../common/CommonSendPutAction';

export default class QuanziRequestQuitQunAciton extends CommonSendPutAction {
  constructor(props) {
    super(props);

    this.moduleType = Constants.MODULE_TYPE.QUAN_ZI;
    this.name = "QuanziRequestQuitQunAciton";
  }

   finish(data, isSucceed) {
    if(isSucceed) {
      console.log("QuanziRequestQuitQunAciton finish", data);
      this.caller.setState({
        viewStatus: 3,
        quitSuccess:true,
      })
    }
  }
}
